<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Model\HomeUserModel;

class HomeIndexMethod extends Controller
{
    public function ShowUserAddress($user_id)
    {
        $user = HomeUserModel::find($user_id);

        $useraddress = $user->address;

        return $useraddress;
    }
}
